/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sitetune.webproject;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author marcos
 */
@ManagedBean
@RequestScoped
public class TesteManagedBean {

    private String nome;
    protected String hello;

    /** Creates a new instance of TesteManagedBean */
    public TesteManagedBean() {
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public String getHello() {
        return hello;
    }

    public void setHello(String hello) {
        this.hello = hello;
    }

    public void helloWorld() {
        hello = "Olá " + nome + "!";
    }
}
